package com.ckr.mapper;

import com.ckr.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * @author Shadowckr
 * @create 2021-11-15 18:08
 */
public interface UserMapper {
    // 根据id查询用户
    User queryUserById(@Param("id") int id);

    // 修改用户
    int updateUser(Map<String,Object> map);
}
